<% @friends.each do |friend| %>
    <%= link_to friend.email, profile_path(friend.id) %>
    <hr>
<% end %>
<%= "empty" if @friends.empty? %>